package com.local.consumer.mapper;

import com.local.consumer.pojo.Order;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderMapper {

    /**
     * 根据id查询order
     * @param orderId
     * @return
     */
    public Order getById(Integer orderId);


    /**
     * 根据id更新order的is_deleted状态值
     * @param orderId
     * @return
     */
    public Integer updateById(Integer orderId);
}
